package com.catsic.zcjc.form;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.persistence.Column;

import org.springframework.format.annotation.DateTimeFormat;

import com.catsic.base.BaseForm;
import com.catsic.zcjc.entity.EquipFileData;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonFormat.Shape;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

@JsonInclude(Include.NON_NULL)
public class EquipDataForm extends BaseForm implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3064028566289203448L;

	/**
	 * collectionTime:采集时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",shape = Shape.STRING,timezone = "GMT+8")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date collectionTime;
	
	/**
	 * plateNo:车牌号码
	 */
	@Column(name="PLATE_NO")
	private String plateNo;
	
	/**
	 * plateColor:车牌颜色
	 */
	private String plateColor;
	
	/**
	 * trainType:车型
	 */
	private String trainType;
	
	/**
	 * axleNumber:车轴数
	 */
	private Integer axleNumber;
	
	/**
	 * wheelNumber:车轮数
	 */
	private Integer wheelNumber;
	
	/**
	 * totalWeight:总重
	 */
	private Double totalWeight;
	
	/**
	 * wheelWeight:各轴重
	 */
	private Double wheelWeight;
	
	/**
	 * overrunWeight:超重
	 */
	private Double overrunWeight;

	/**
	 * goodsType:货物类型
	 */
	private String goodsType;
	
	/**
	 * stationId:所属站点id
	 */
	private String stationId;

	/**
	 * stationName:所属站点名称
	 */
	private String stationName;
	
	/**
	 * equip:所属设备
	 */
	private String equipId;
	
	/**
	 * equip:所属设备名称
	 */
	private String equipName;
	
	/**
	 * trainCount:车辆总数
	 */
	private int trainCount;
	
	/**
	 * collectionTime:统计时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",shape = Shape.STRING,timezone = "GMT+8")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date countTime;
	
	private String overrunPercent;
	
	 private List<EquipFileData> fileData;

	/**
	 * tagName:是否已读
	 */
	private int tag;
	
	private String tagName;
	
	private EquipFileData headPic;
	
	private String systemName;
	
	private String systemId;
	
	private Integer wheelNumber1;
	
	private Integer wheelNumber2;
	
	private Integer wheelNumber3;

	private Integer wheelNumber4;
	
	private Integer wheelNumber5;

	private Integer wheelNumber6;
	
	private Integer wheelNumber7;
	
	private Integer wheelNumber8;
	
	private Integer wheelNumber9;
	
	private Integer wheelNumber10;
	
	private Double axleWeight1;
	
	private Double axleWeight2;
	
	private Double axleWeight3;
	
	private Double axleWeight4;
	
	private Double axleWeight5;
	
	private Double axleWeight6;
	
	private Double axleWeight7;
	
	private Double axleWeight8;
	
	private Double axleWeight9;
	
	private Double axleWeight10;
	
	private Double axleBase1;
	
	private Double axleBase2;
	
	private Double axleBase3;

	private Double axleBase4;
	
	private Double axleBase5;
	
	private Double axleBase6;
	
	private Double axleBase7;
	
	private Double axleBase8;
	
	private Double axleBase9;
	
	private Double axleBase10;
	
	private Integer status;
	
	private String cnStatus;
	
	private Double speed;
	
	private String labelName;

	public Date getCollectionTime() {
		return collectionTime;
	}

	public void setCollectionTime(Date collectionTime) {
		this.collectionTime = collectionTime;
	}

	public String getPlateNo() {
		return plateNo;
	}

	public void setPlateNo(String plateNo) {
		this.plateNo = plateNo;
	}

	public String getPlateColor() {
		return plateColor;
	}

	public void setPlateColor(String plateColor) {
		this.plateColor = plateColor;
	}

	public String getTrainType() {
		return trainType;
	}

	public void setTrainType(String trainType) {
		this.trainType = trainType;
	}

	public Integer getAxleNumber() {
		return axleNumber;
	}

	public void setAxleNumber(Integer axleNumber) {
		this.axleNumber = axleNumber;
	}

	public Integer getWheelNumber() {
		return wheelNumber;
	}

	public void setWheelNumber(Integer wheelNumber) {
		this.wheelNumber = wheelNumber;
	}

	public Double getTotalWeight() {
		return totalWeight;
	}

	public void setTotalWeight(Double totalWeight) {
		this.totalWeight = totalWeight;
	}

	public Double getWheelWeight() {
		return wheelWeight;
	}

	public void setWheelWeight(Double wheelWeight) {
		this.wheelWeight = wheelWeight;
	}

	public Double getOverrunWeight() {
		return overrunWeight;
	}

	public void setOverrunWeight(Double overrunWeight) {
		this.overrunWeight = overrunWeight;
	}

	public String getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(String goodsType) {
		this.goodsType = goodsType;
	}

	public String getStationId() {
		return stationId;
	}

	public void setStationId(String stationId) {
		this.stationId = stationId;
	}

	public String getStationName() {
		return stationName;
	}

	public void setStationName(String stationName) {
		this.stationName = stationName;
	}

	public String getEquipId() {
		return equipId;
	}

	public void setEquipId(String equipId) {
		this.equipId = equipId;
	}

	public String getEquipName() {
		return equipName;
	}

	public void setEquipName(String equipName) {
		this.equipName = equipName;
	}

	public int getTrainCount() {
		return trainCount;
	}

	public void setTrainCount(int trainCount) {
		this.trainCount = trainCount;
	}

	public Date getCountTime() {
		return countTime;
	}

	public void setCountTime(Date countTime) {
		this.countTime = countTime;
	}

	public String getOverrunPercent() {
		return overrunPercent;
	}

	public void setOverrunPercent(String overrunPercent) {
		this.overrunPercent = overrunPercent;
	}

	public List<EquipFileData> getFileData() {
		return fileData;
	}

	public void setFileData(List<EquipFileData> fileData) {
		this.fileData = fileData;
	}

	public int getTag() {
		return tag;
	}

	public void setTag(int tag) {
		this.tag = tag;
	}

	public String getTagName() {
		return tagName;
	}

	public void setTagName(String tagName) {
		this.tagName = tagName;
	}

	public EquipFileData getHeadPic() {
		return headPic;
	}

	public void setHeadPic(EquipFileData headPic) {
		this.headPic = headPic;
	}

	public String getSystemName() {
		return systemName;
	}

	public void setSystemName(String systemName) {
		this.systemName = systemName;
	}

	public String getSystemId() {
		return systemId;
	}

	public void setSystemId(String systemId) {
		this.systemId = systemId;
	}

	public Integer getWheelNumber1() {
		return wheelNumber1;
	}

	public void setWheelNumber1(Integer wheelNumber1) {
		this.wheelNumber1 = wheelNumber1;
	}

	public Integer getWheelNumber2() {
		return wheelNumber2;
	}

	public void setWheelNumber2(Integer wheelNumber2) {
		this.wheelNumber2 = wheelNumber2;
	}

	public Integer getWheelNumber3() {
		return wheelNumber3;
	}

	public void setWheelNumber3(Integer wheelNumber3) {
		this.wheelNumber3 = wheelNumber3;
	}

	public Integer getWheelNumber4() {
		return wheelNumber4;
	}

	public void setWheelNumber4(Integer wheelNumber4) {
		this.wheelNumber4 = wheelNumber4;
	}

	public Integer getWheelNumber5() {
		return wheelNumber5;
	}

	public void setWheelNumber5(Integer wheelNumber5) {
		this.wheelNumber5 = wheelNumber5;
	}

	public Integer getWheelNumber6() {
		return wheelNumber6;
	}

	public void setWheelNumber6(Integer wheelNumber6) {
		this.wheelNumber6 = wheelNumber6;
	}

	public Integer getWheelNumber7() {
		return wheelNumber7;
	}

	public void setWheelNumber7(Integer wheelNumber7) {
		this.wheelNumber7 = wheelNumber7;
	}

	public Integer getWheelNumber8() {
		return wheelNumber8;
	}

	public void setWheelNumber8(Integer wheelNumber8) {
		this.wheelNumber8 = wheelNumber8;
	}

	public Integer getWheelNumber9() {
		return wheelNumber9;
	}

	public void setWheelNumber9(Integer wheelNumber9) {
		this.wheelNumber9 = wheelNumber9;
	}

	public Integer getWheelNumber10() {
		return wheelNumber10;
	}

	public void setWheelNumber10(Integer wheelNumber10) {
		this.wheelNumber10 = wheelNumber10;
	}

	public Double getAxleWeight1() {
		return axleWeight1;
	}

	public void setAxleWeight1(Double axleWeight1) {
		this.axleWeight1 = axleWeight1;
	}

	public Double getAxleWeight2() {
		return axleWeight2;
	}

	public void setAxleWeight2(Double axleWeight2) {
		this.axleWeight2 = axleWeight2;
	}

	public Double getAxleWeight3() {
		return axleWeight3;
	}

	public void setAxleWeight3(Double axleWeight3) {
		this.axleWeight3 = axleWeight3;
	}

	public Double getAxleWeight4() {
		return axleWeight4;
	}

	public void setAxleWeight4(Double axleWeight4) {
		this.axleWeight4 = axleWeight4;
	}

	public Double getAxleWeight5() {
		return axleWeight5;
	}

	public void setAxleWeight5(Double axleWeight5) {
		this.axleWeight5 = axleWeight5;
	}

	public Double getAxleWeight6() {
		return axleWeight6;
	}

	public void setAxleWeight6(Double axleWeight6) {
		this.axleWeight6 = axleWeight6;
	}

	public Double getAxleWeight7() {
		return axleWeight7;
	}

	public void setAxleWeight7(Double axleWeight7) {
		this.axleWeight7 = axleWeight7;
	}

	public Double getAxleWeight8() {
		return axleWeight8;
	}

	public void setAxleWeight8(Double axleWeight8) {
		this.axleWeight8 = axleWeight8;
	}

	public Double getAxleWeight9() {
		return axleWeight9;
	}

	public void setAxleWeight9(Double axleWeight9) {
		this.axleWeight9 = axleWeight9;
	}

	public Double getAxleWeight10() {
		return axleWeight10;
	}

	public void setAxleWeight10(Double axleWeight10) {
		this.axleWeight10 = axleWeight10;
	}

	public Double getAxleBase1() {
		return axleBase1;
	}

	public void setAxleBase1(Double axleBase1) {
		this.axleBase1 = axleBase1;
	}

	public Double getAxleBase2() {
		return axleBase2;
	}

	public void setAxleBase2(Double axleBase2) {
		this.axleBase2 = axleBase2;
	}

	public Double getAxleBase3() {
		return axleBase3;
	}

	public void setAxleBase3(Double axleBase3) {
		this.axleBase3 = axleBase3;
	}

	public Double getAxleBase4() {
		return axleBase4;
	}

	public void setAxleBase4(Double axleBase4) {
		this.axleBase4 = axleBase4;
	}

	public Double getAxleBase5() {
		return axleBase5;
	}

	public void setAxleBase5(Double axleBase5) {
		this.axleBase5 = axleBase5;
	}

	public Double getAxleBase6() {
		return axleBase6;
	}

	public void setAxleBase6(Double axleBase6) {
		this.axleBase6 = axleBase6;
	}

	public Double getAxleBase7() {
		return axleBase7;
	}

	public void setAxleBase7(Double axleBase7) {
		this.axleBase7 = axleBase7;
	}

	public Double getAxleBase8() {
		return axleBase8;
	}

	public void setAxleBase8(Double axleBase8) {
		this.axleBase8 = axleBase8;
	}

	public Double getAxleBase9() {
		return axleBase9;
	}

	public void setAxleBase9(Double axleBase9) {
		this.axleBase9 = axleBase9;
	}

	public Double getAxleBase10() {
		return axleBase10;
	}

	public void setAxleBase10(Double axleBase10) {
		this.axleBase10 = axleBase10;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCnStatus() {
		return cnStatus;
	}

	public void setCnStatus(String cnStatus) {
		this.cnStatus = cnStatus;
	}

	public Double getSpeed() {
		return speed;
	}

	public void setSpeed(Double speed) {
		this.speed = speed;
	}

	
	public String getLabelName() {
		return labelName;
	}

	public void setLabelName(String labelName) {
		this.labelName = labelName;
	}

	@Override
	public String toString() {
		return "EquipDataForm [collectionTime=" + collectionTime + ", plateNo=" + plateNo + ", plateColor=" + plateColor
				+ ", trainType=" + trainType + ", axleNumber=" + axleNumber + ", wheelNumber=" + wheelNumber
				+ ", totalWeight=" + totalWeight + ", wheelWeight=" + wheelWeight + ", overrunWeight=" + overrunWeight
				+ ", goodsType=" + goodsType + ", stationId=" + stationId + ", stationName=" + stationName
				+ ", equipId=" + equipId + ", equipName=" + equipName + "]";
	}
	
}
